package com.terabits.smartriver.util;

public enum ConcentrationType {

    type1(1, "COD浓度"),

    type2(2, "氨氮(NH3N)浓度"),

    type3(3, "总磷浓度"),

    type4(4, "SS(悬浮物)浓度");


    private Integer type;

    private String filename;

    ConcentrationType(Integer type, String filename) {
        this.type = type;
        this.filename = filename;
    }


    public static String getExportFilename(Integer type) {
        switch (type) {
            case 1:
                return ConcentrationType.type1.filename;
            case 2:
                return ConcentrationType.type2.filename;
            case 3:
                return ConcentrationType.type3.filename;
            case 4:
                return ConcentrationType.type4.filename;
            default:
                return "";
        }
    }
}
